![]() |
GetMenuItemModifiers |
||||
Header: | Menus.h | Carbon status: | Supported | |
Obtains the modifier keys that must be pressed with a character key to select a particular menu item.
OSErr GetMenuItemModifiers ( MenuHandle inMenu, SInt16 inItem, UInt8 *outModifiers );
A handle to the menu that contains the menu item for which you wish to get the modifier key(s).
An integer representing the item number of the menu item.
A pointer to an unsigned 8-bit value. On return, the bits of the value are set to indicate the modifier keys that can be used in selecting the menu item; see
A result code.
See also the function SetMenuItemModifiers.
This function is available with Appearance Manager 1.0 and later.
Supported in Carbon. Available in CarbonLib 1.0 and later when CarbonLib 1.0 or later is installed. Exported by CarbonLib 1.0 and later and by CarbonLib 1.0 and later.
© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)